Functions
Resolve all symbolic links and all components (tilde, ., .., …+) and return the path in its absolute form.
Resolve only path components (tilde, ., .., …+), if possible.
Expand tilde (“~”) into a home directory if it is the first path component
Trim trailing path separator from a string